<%@ Page Language="vb" AutoEventWireup="false" CodeFile="DNNTextSuggest.aspx.vb" Inherits="DNNTextSuggest" MasterPageFile="~/MasterPage.master"%>
<%@ Register TagPrefix="DNN" Namespace="DotNetNuke.UI.WebControls" Assembly="DotNetNuke.WebControls" %>
<asp:content id="header" contentplaceholderid="HeaderPlaceHolder" runat="Server">
    <link href="DNNTextSuggest.css" type="text/css" rel="stylesheet">
    <script language="javascript" src="js/common.js"></script>
    <script language="javascript">
	        var m_sNS = '<%=txtStatus.NamingContainer.ClientID%>';
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <table class="sectiontable">
        <tbody>
            <tr>
                <th>
                    DNNTextSuggest</th>
                <th>
                    Details</th>
            </tr>
            <tr>
                <td class="treecontainer" valign="top" nowrap>
                    <div style="width: 250px; height: 600px">
                        --&gt;<DNN:DNNTextSuggest ID="MyDNNTextSuggest" runat="server" CallbackStatusFunction="callbackStatus"
                            TextSuggestScriptPath="js/" DefaultNodeCssClassSelected="SelClass" DefaultNodeCssClassOver="HoverClass"
                            DefaultNodeCssClass="NodeDefault" DefaultChildNodeCssClass="ChildNodeDefault"
                            TextSuggestCssClass="MenuBarClass"></DNN:DNNTextSuggest>
                    </div>
                </td>
                <td valign="top">
                    <table class="sectiontable">
                        <tr>
                            <td>
                                <asp:Label ID="lblEventDetails" runat="server" Height="200px" Width="100%" BorderWidth="1px"
                                    BorderStyle="Solid"></asp:Label></td>
                        </tr>
                        <tr>
                            <th>
                                Settings</th>
                        </tr>
                        <tr>
                            <td>
                                <table class="sectiontable">
                                    <tr>
                                        <td style="height: 23px">
                                            ID Token:
                                        </td>
                                        <td style="height: 23px">
                                            <asp:DropDownList ID="cboIDToken" runat="server" AutoPostBack="True">
                                                <asp:ListItem Selected="True" Value="0">None</asp:ListItem>
                                                <asp:ListItem Value="1">Brackets</asp:ListItem>
                                                <asp:ListItem Value="2">Parenthesis</asp:ListItem>
                                            </asp:DropDownList></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Delimiter:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtDelimiter" runat="server" AutoPostBack="True" Width="100%">;</asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Minimum Characters:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtMinChars" runat="server" AutoPostBack="True" Width="100%">1</asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Maximum Suggest Rows:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtMaxRows" runat="server" AutoPostBack="True" Width="100%">10</asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lookup Delay:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtLookupDelay" runat="server" AutoPostBack="True" Width="100%">500</asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Lost Focus Delay:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtLostFocusDelay" runat="server" AutoPostBack="True" Width="100%">500</asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input id="btnPostBack" type="button" value="Do PostBack" runat="server"></td>
                                    </tr>
                                    <tr>
                                        <td nowrap>
                                            <asp:CheckBox ID="chkForceDownLevel" runat="server" AutoPostBack="True" Text="Force Downlevel">
                                            </asp:CheckBox></td>
                                    </tr>
                                    <tr>
                                        <td nowrap>
                                            <asp:CheckBox ID="chkCaseSensitive" runat="server" AutoPostBack="True" Text="Case Sensitive">
                                            </asp:CheckBox></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                Status</th>
                        </tr>
                        <tr>
                            <td>
                                <textarea id="txtStatus" name="txtStatus" rows="10" cols="70" runat="server"></textarea>
                            </td>
                        </tr>
                    </table>
                    <iframe id="MyTarget" name="MyTarget" width="100%"></iframe>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
